package cn.mily.datadir.query;

import cn.mily.basics.query.BaseQuery;
import lombok.Data;

@Data
public class DataDetailQuery extends BaseQuery {
    /*根据id查*/
    private Long id;
    private Integer localPage=1;
    private Integer pageSize=3;
    private Integer pageBdgin;

    public Integer getPageBegin(){
        return (this.localPage-1)*this.pageSize;
    }
}
